package com.jdrx.ocp.beans.entity;

import java.util.Date;
import java.util.List;

/**
 * @author huangxg
 */
public class RolePO {
    private Long id;

    private String name;

    private Integer createBy;

    private Date createAt;

    private Integer updateBy;

    private Date updateAt;

    private String delFlag;

    private String remark;

    /** 资源集合**/
    private List<ResourcePO> resourceList;

    private String identifier;

    private String resourceIds;

    private Integer roleType;
	
	private Integer type;

	private String deptPath;

    public String getDeptPath() {
        return deptPath;
    }

    public void setDeptPath(String deptPath) {
        this.deptPath = deptPath;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<ResourcePO> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<ResourcePO> resourceList) {
        this.resourceList = resourceList;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(String resourceIds) {
        this.resourceIds = resourceIds;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "RolePO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createBy=" + createBy +
                ", createAt=" + createAt +
                ", updateBy=" + updateBy +
                ", updateAt=" + updateAt +
                ", delFlag='" + delFlag + '\'' +
                ", remark='" + remark + '\'' +
                ", resourceList=" + resourceList +
                ", identifier='" + identifier + '\'' +
                ", resourceIds='" + resourceIds + '\'' +
                ", type=" + type +
                '}';
    }
}